package com.topgay.service;

import java.sql.SQLException;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.topgay.dao.MemberDAO;
import com.topgay.domain.Member;

@Service
public class MemberServiceImple implements MemberService{
	
	@Autowired
	private MemberDAO dao;
	
	//ID로 회원 조회
	@Override
	public Member getMemberById(String id) throws SQLException {
		return dao.selectMemberById(id);
	}
	
}
